package com.woniuxy.impl;

import com.woniuxy.Person;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class Chinese implements Person {
    String name;
    int age;
    Japan japanese;
    List<Integer> list_persons;
    Map<Integer,String> map_person;
    Set<Japan> set_Japanes;
    List<Japan> list_Japanes;
    List<Map<Integer,String>> list_person;

    public Chinese(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Chinese(String name, int age, Japan japanese, List<Integer> list_persons, Map<Integer, String> map_person, Set<Japan> set_Japanes, List<Japan> list_Japanes, List<Map<Integer, String>> list_person) {
        this.name = name;
        this.age = age;
        this.japanese = japanese;
        this.list_persons = list_persons;
        this.map_person = map_person;
        this.set_Japanes = set_Japanes;
        this.list_Japanes = list_Japanes;
        this.list_person = list_person;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Japan getJapanese() {
        return japanese;
    }

    public void setJapanese(Japan japanese) {
        this.japanese = japanese;
    }

    public List<Integer> getList_persons() {
        return list_persons;
    }

    public void setList_persons(List<Integer> list_persons) {
        this.list_persons = list_persons;
    }

    public Map<Integer, String> getMap_person() {
        return map_person;
    }

    public void setMap_person(Map<Integer, String> map_person) {
        this.map_person = map_person;
    }

    public Set<Japan> getSet_Japanes() {
        return set_Japanes;
    }

    public void setSet_Japanes(Set<Japan> set_Japanes) {
        this.set_Japanes = set_Japanes;
    }

    public List<Japan> getList_Japanes() {
        return list_Japanes;
    }

    public void setList_Japanes(List<Japan> list_Japanes) {
        this.list_Japanes = list_Japanes;
    }

    public List<Map<Integer, String>> getList_person() {
        return list_person;
    }

    public void setList_person(List<Map<Integer, String>> list_person) {
        this.list_person = list_person;
    }

    @Override
    public String toString() {
        return "Chinese{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", japanese=" + japanese +
                ", list_persons=" + list_persons +
                ", map_person=" + map_person +
                ", set_Japanes=" + set_Japanes +
                ", list_Japanes=" + list_Japanes +
                ", list_person=" + list_person +
                '}';
    }

    @Override
    public void play() {
        System.out.println("中国人玩java");
    }
}
